body {
    padding-top: 1.973333rem;
    padding-bottom: 1.386667rem;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 750px;
    min-width: 320px;
    background-color: #f2f2f2;
    z-index: 9;
}

header {

    height: 1.133333rem;
    // background-color: #0a0;
    display: flex;

    .logo {
        display: block;
        width: 1.4rem;
        height: 100%;
        background: url('../imgs/logo.png') center / .68rem .466667rem no-repeat;
    }

    .search {
        flex: 1;
        height: .906667rem;
        border: 2px solid #e5e5e5;
        margin-top: .106667rem;
        border-radius: 5px;
        background-color: #fff;

        &::after {
            content: "";
            display: block;
            width: .84rem;
            height: .84rem;
            background: url('../imgs/search.png') center / 80% 80% no-repeat;
        }
    }

    .login {
        width: 1.4rem;
        height: 100%;
        background: url('../imgs/mine.png') center / .586667rem no-repeat;
    }
}

.cate {
    ul {
        display: flex;
        padding-left: .4rem;

        li {
            font-size: .346667rem;
            margin-right: .693333rem;

            a {
                display: block;
                height: .826667rem;
                line-height: .826667rem;
            }

            &:first-child {
                border-bottom: 2px solid #ec5b00;
            }

        }
    }
}

.banner {
    position: relative;
    height: 4.973333rem;

    img {
        width: 100%;
        height: 100%;
    }

    .points {
        position: absolute;
        bottom: .346667rem;
        display: flex;
        width: 100%;
        justify-content: center;

        li {
            margin: 0 .133333rem;

            &.active a {
                background-color: #fff;
            }

            a {
                display: block;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: rgba(255, 255, 255, 0.384);
            }
        }
    }
}

.main-nav {
    ul {
        display: flex;
        flex-wrap: wrap;

        li {
            width: 20%;

            img {
                width: 100%;
            }
        }
    }
}

.product {
    display: flex;
    justify-content: space-between;
    // background-color: #f00;
    background-color: #fff;
    margin: .24rem 0;

    .pro-left,
    .pro-right {
        width: 4.96rem;

        img {
            width: 100%;
        }
    }

    .pro-right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.onsale {
    img {
        width: 100%;
    }
}

footer {
    position: fixed;
    bottom: 0;
    height: 1.386667rem;
    width: 100%;
    max-width: 750px;
    min-width: 320px;
    background-color: #fff;

    ul {
        display: flex;
        height: 1.386667rem;
        justify-content: space-around;

        li {
            a {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                // justify-content: space-around;
                font-size: .32rem;
                height: 100%;

                img {
                    width: .613333rem;
                    margin-bottom: .106667rem;
                }
            }
        }
    }
}